<div class="stars">
    <span
            *ngFor="let star of stars; let i=index"
            [class.glyphicon-star-empty] = 'star'
            class="glyphicon glyphicon-star"
            (click)="clickStar(i)">
    </span>
    <span>{{rating | number : '1.0-2'}}星</span>
</div>
